//
//  JobCerticationLayout.h
//  MyProject
//
//  Created by 石小强 on 2018/5/7.
//  Copyright © 2018年 yanjiaming. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol JobCerticationLayoutDelegate <NSObject>

-(void)scrolledToTheCurrentItemAtIndex:(NSInteger)itemIndex;

@end

@interface JobCerticationLayout : UICollectionViewLayout

@property (nonatomic,assign)CGFloat internailItemSpacing;
@property (nonatomic,assign)CGSize itemSize;
@property (nonatomic,assign)UIEdgeInsets sectionEdgeInsets;
@property (nonatomic,assign)CGFloat scale;
@property (nonatomic,assign)NSInteger currentItemIndex;
@property (nonatomic,assign)NSInteger itemsCount;

@property (nonatomic, assign) id<JobCerticationLayoutDelegate> delegate;

@end
